import java.util.Scanner;

public class L6 {
    public static void main(String[]args){
        Scanner in= new Scanner(System.in);
        System.out.println("输入成绩：" );
        int i=in.nextInt();
        if(i<0||i>=100){
            System.out.println("输入正确成绩。");
        }else{
            if(i>=0&&i<=60){
                System.out.println("成绩不合格");
            }if(i>=60&&i<=80){
                System.out.println("成绩合格");

            }if(i>80&&i<=100){
                System.out.println("成绩良好。");
            }
        }
        System.out.println("继续努力，下次更优秀。");
    }
}
